package sprinklerbee.model;

import java.util.*;

public class SchedulerHistory {

	private int id;
	private Date starttime;
	private Date endtime;
	private double duration;
	private double consumption;
	private Scheduler scheduler;
	private Sprinkler sprinkler;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Date getStarttime() {
		return starttime;
	}

	public void setStarttime(Date starttime) {
		this.starttime = starttime;
	}

	public Date getEndtime() {
		return endtime;
	}

	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}

	public double getDuration() {
		return duration;
	}

	public void setDuration(double duration) {
		this.duration = duration;
	}

	public double getConsumption() {
		return consumption;
	}

	public void setConsumption(double consumption) {
		this.consumption = consumption;
	}

	public Scheduler getScheduler() {
		return scheduler;
	}

	public void setScheduler(Scheduler scheduler) {
		this.scheduler = scheduler;
	}

	public Sprinkler getSprinkler() {
		return sprinkler;
	}

	public void setSprinkler(Sprinkler sprinkler) {
		this.sprinkler = sprinkler;
	}
	
	

}